﻿using System.Runtime.Versioning;
using UtilZ.Tool.HostPluginBase;

namespace UtilZ.Tool.LinuxAdapter
{
    /// <summary>
    /// linujx系统适配器
    /// </summary>
    [SupportedOSPlatform("linux")]
    public class LinuxAdapter : IOSAdapter
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public LinuxAdapter()
        {

        }

        /// <summary>
        /// 查询进程启动参数
        /// </summary>
        /// <param name="pid"></param>
        /// <returns></returns>
        public string QueryProcessStartArgs(int pid)
        {
            return null;
        }

        /// <summary>
        /// 获取崩溃进程ID列表
        /// </summary>
        /// <returns></returns>
        public List<int> GetCrushProcessIdList()
        {
            return null;
        }

        /// <summary>
        /// 检查指定窗口句柄的进程是否未响应
        /// </summary>
        /// <param name="mainWindowHandle"></param>
        /// <returns></returns>
        public bool IsNoResponse(IntPtr mainWindowHandle)
        {
            return false;
        }
    }
}